package zengjin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;
import zengjin.common.PageResponse;
import zengjin.model.dto.job.AddJobRequest;
import zengjin.model.dto.job.PageJobRequest;
import zengjin.model.dto.job.UpdateJobRequest;
import zengjin.model.en.Job;
import zengjin.model.vo.job.JobAndEmployerVO;
import zengjin.model.vo.job.JobVO;

/**
* @author 19324
* @description 针对表【job】的数据库操作Service
* @createDate 2025-01-02 14:22:19
*/
@Service
public interface JobService extends IService<Job> {

    Boolean addJob(AddJobRequest addJobRequest);

    PageResponse<JobVO> pageJob(PageJobRequest pageJobRequest);

    PageResponse<JobAndEmployerVO> pageJobAndEmployer(PageJobRequest pageJobRequest);

    Boolean updateJobById(UpdateJobRequest updateJobRequest);

    JobAndEmployerVO getJobAndEmployerDetailByJobId(Long jobId);

    PageResponse<JobVO> getJobAdminPage(PageJobRequest pageJobRequest);
}
